package com.woniuxy.sales.service;

import com.woniuxy.sales.common.RedisConst;
import com.woniuxy.sales.model.entity.China;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.cache.annotation.Cacheable;

/**
* @author Administrator
* @description 针对表【china(地区表)】的数据库操作Service
* @createDate 2024-11-01 09:59:52
*/
public interface ChinaService extends IService<China> {

    @Cacheable(cacheNames = RedisConst.CHINA_CACHE, key = "#id")
    China findById(Integer id);
}
